<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"><head><title>Facebook Tools</title><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

<style type="text/css">
a{cursor:pointer;color:#6b89c8;-moz-outline-style:none;outline-style:none;text-decoration:none}
a:visited{color:#4b69a8}
a:hover{text-decoration:underline}
textarea,input{font-family:tahoma;font-size:11px;resize:none;background-color:rgba(242,242,242,0.2);border:1px solid rgba(109,132,180,0.1);padding:2px;margin:0;line-height:1.28;vertical-align:middle}
.tombol,.tombol-putih{background-image:url("http://static.ak.fbcdn.net/rsrc.php/v1/ys/r/0VDksn8o5BR.png");background-repeat:no-repeat;background-position:0 0;background-color:#5b74a8;border-color:#29447e #29447e #1a356e;border-width:1px;border-style:solid;box-shadow:0 1px 0 rgba(0,0,0,0.1);cursor:pointer;display:inline-block;padding:3px 6px;text-align:center;vertical-align:top;white-space:nowrap;line-height:16px;font-weight:bold;color:#fff;font-size:11px;border-radius:3px;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;margin-bottom:5px}
.tombol-putih{background-position:0 -147px;background-color:#eee;color:#444;border-color:#999 #999 #888}
.tombol-putih:hover{background-position:0 0;background-color:#5b74a8;color:#fff;border-color:#29447e #29447e #1a356e}
#bawah{display:none;position:fixed;bottom:60px;right:400px;text-align:right}
#skrin{position:fixed;width:100%;height:100%;z-index:9999;background:transparent url(http://images.gmx.com/images/outsource/application/mailclient/mailcom/resource/mailclient/widgets/blue/common/loading_animation_en-3447255655.gif) no-repeat fixed center center;background-size:auto;overflow-y:scroll}
.gb-wall,.gb-tkn{background:transparent url('http://static.ak.fbcdn.net/rsrc.php/v2/yR/r/hqPYFjMiGCV.png') no-repeat scroll -138px -118px;vertical-align:middle;display:inline-block;height:16px;width:16px;margin:0 0 0 -2px}
.gb-tkn{background-position:-121px -118px}
.gb-klos{background:transparent url("http://static.ak.fbcdn.net/rsrc.php/v2/yA/r/4WSewcWboV8.png") no-repeat scroll left -32px;vertical-align:middle;display:inline-block;height:15px;width:15px;margin:0 0 1px -2px}
.gb-tanya{background:url("https://s-static.ak.fbcdn.net/rsrc.php/v2/yt/r/7rpZ7CHyvX7.gif") no-repeat scroll 0 center transparent;vertical-align:middle;display:inline-block;height:9px;width:12px;margin:0 0 0 5px;cursor:pointer}
.gb-tanya:hover{background-color:yellow}
.konsol{width:500px;margin:auto;padding:10px 0}
.bt-box{margin:5px auto;text-align:right}
.h-box{position:fixed;left:20px;bottom:20px;border-radius:15px 3px 17px;margin:0 0 15px 0;padding:1px 10px 3px;border:1px solid rgba(0,0,0,0.2);background-color:rgba(10,10,10,0.5);color:white;font-size:14px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-weight:bold;white-space:nowrap;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,0.1);text-shadow:0 1px 0 rgba(0,0,0,0.1);display:inline-block}
.rpt-box{box-shadow:0 1px 0 rgba(0,0,0,0.1);border-radius:3px;display:none;margin:5px auto;padding:5px;border:1px solid rgba(200,200,50,0.2);background-color:rgba(200,200,100,0.1);color:#343}
</style>
</head>
<body style="font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px;width:100%;height:100%;padding:0;margin:0;color:#333333;background:white url(http://4.bp.blogspot.com/-rb5QF7mPj9g/T_e-IWPtxhI/AAAAAAAABNA/pTZ1R0RfNpM/s1600/aing%2Bgrup%2BcoverBG.jpg) no-repeat fixed bottom right;background-size:auto;overflow:hidden">

<div id="skrin"></div><div id="bawah"><span id="tb-wk" class="tombol-putih" onClick="wolklineur()"><i class="gb-wall"></i>Wall Cleaner</span></div><div id="seprer" style="display:none"></div>

<script type="text/javascript">
function skrinon() {
  $("#bawah").fadeOut(function() {
    $("#skrin").css({"background-image":"url(https://images.gmx.com/images/outsource/application/mailclient/mailcom/resource/mailclient/widgets/blue/common/loading_animation_en-3447255655.gif)"}).fadeIn()
  })
}
function skrinoff() {
  $("#skrin").fadeOut(function() {
    $("#bawah").fadeIn()
  })
}
function skrinfill(e) {
  $("#bawah").fadeOut(function() {
    $("#skrin").html(e).css({"background-image":"none"}).fadeIn(function() {
      repos(".konsol")
    })
  })
}
function repos(e) {
  var t = $(window).height(), n = $(e).height(), t = (t - n) / 3;
  0 > t && (t = 0), $(e).animate({"margin-top":t + "px"})
}
function wolklineur() {
  var e;
  e = '<div class="konsol"><div><h2 class="h-box">Wall Cleaner</h2></div><div class="txt-box" style="color:gray"><div style="text-align:right;margin:0 0 5px 0">Wall ID: <input type="text" id="wall-id" value="me" onFocus="this.select()" style="width:200px"/></div><div style="text-align:right;margin:0 0 5px 0">Admin Token: <input type="text" id="admin-token" value="" onFocus="this.select()" style="width:200px"/> <span class="tombol-putih" onClick="gettoket()"><i class="gb-tkn"></i> Get Token</span></div>' + 
  ('<div style="text-align:right;margin:5px 0">Filter by Actor ID: <input type="text" id="aktor-id" value="" onFocus="this.select()" style="width:380px;font-size:10px;line-height:11px;color:gray"/>' + ttnya + "</div>"), e += '<div style="text-align:right;margin:5px 0">Via app exception: <input type="text" id="app-axc" value="(2915120374|139682082719810|232625956763971|350685531728|2254487659|146433062118911|376872972363572|315222868552357|45439413586|282891415108049)" onFocus="this.select()" style="width:380px;font-size:10px;line-height:11px;color:gray"/>' + 
  ttnya + "</div>", e += '<div style="text-align:right;margin:5px 0">Filter by Words: <input type="text" id="word-axc" value="(sange|kontol|fuck|jpg|png|gif)" onFocus="this.select()" style="width:380px;font-size:10px;line-height:11px;color:gray"/>' + ttnya + "</div>", skrinfill(e + '<div style="text-align:right;margin:5px 0">Search limit: <input type="text" id="search-limit" value="25" onFocus="this.select()" style="width:30px"/> Re-scan timeout: <input type="text" id="timeout-delay" value="60000" onFocus="this.select()" style="width:50px"/></div></div><div class="bt-box"><span class="tombol-putih" onClick="klinwol()"><i class="gb-wall"></i> Clean Wall</span> <span class="tombol-putih" onClick="clearTimeout(sto);skrinoff()"><i class="gb-klos"></i> Close</span> </div><div class="rpt-box"><div id="lapor" class="lapor"></div><div id="lapor3" class="lapor"></div><div id="lapor2" class="lapor" style="display:none"></div><div id="selesai" class="lapor" style="text-align:right"></div><div style="font-size:10px;text-align:right;padding:0 2px"><a href="javascript:void(0)" onClick="if($(this).html()==\'Show Details\'){$(this).html(\'Hide Details\');$(\'#lapor2\').fadeIn(function(){repos(\'.konsol\')})}else{$(this).html(\'Show Details\');$(\'#lapor2\').fadeOut(function(){repos(\'.konsol\')})}">Show Details</a></div></div></div>')
}
function gettoket() {
  aplikesyeun = aplikesyeun.sort(function() {
    return 0.5 - Math.random()
  });
  var e;
  e = "https://www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=" + aplikesyeun[0], window.open(e + "&redirect_uri=http://www.facebook.com/dialog/feed?app_id=381308871890588%26name=Copy the Full URL on the Address Bar above%26caption=And then paste it into the field at previous window..%26picture=http://www.dreamstime.com/one-finger-up-thumb16284994.jpg%26description=Thankyou :) and don't forget to close this popup window.%26link=http://www.facebook.com/AingCreations.Blog%26display=popup%26redirect_uri=http://aing-creationss.blogspot.com/&scope=offline_access,publish_actions,read_stream,publish_stream,user_groups,user_likes,user_photos,friends_photos,user_status,user_activities", 
  "token", "width=600,height=300")
}
function cktkn() {
  var e = $("#admin-token").val();
  return e.split("access_token=")[1] && (e = e.split("access_token=")[1].split("&")[0], $("#admin-token").val(e)), e
}
function klinwol() {
  $(".rpt-box").fadeIn(function() {
    repos(".konsol")
  }), wolaydi = $("#wall-id").val(), toketadmin = cktkn();
  var e = $("#aktor-id").val();
  fbi = "" == e ? "" : RegExp(e, "g"), e = $("#search-limit").val(), slmt = "" == e ? 25 : e, e = $("#app-axc").val(), apax = "" == e ? "" : RegExp(e), e = $("#timeout-delay").val(), rsto = "" == e ? "" : e, clearTimeout(sto), e = $("#word-axc").val(), wrax = "" == e ? "" : RegExp(e, "gi"), $("#lapor").html("Requesting feed.."), $("#lapor2").html(""), $("#lapor3").html(""), $.getJSON("https://graph.facebook.com/" + wolaydi + "/feed?limit=" + slmt + "&access_token=" + toketadmin, function(e) {
    dptrspm = [], hitungE = hitungD = hitungA = hitungC = hitung = 0;
    if(e.data && 0 != e.data.length) {
      for(x in e.data) {
        var t = e.data[x];
        if(t.application && null == t.application.id.match(apax)) {
          var n = RegExp(t.id.split("_")[0], "g");
          if(t.from && t.from.id && null == t.from.id.match(n)) {
            n = "", t.from.name && (n = t.from.name);
            var r = "";
            t.message && (r = t.message), dptrspm.push({id:t.id, name:n, type:"application", pesan:r}), hitungA++
          }
        }else {
          if("" != fbi) {
            if(t.from && t.from.id && null != t.from.id.match(fbi)) {
              n = "", t.from.name && (n = t.from.name), r = "", t.message && (r = t.message), dptrspm.push({id:t.id, name:n, type:"post", pesan:r}), hitung++
            }else {
              if(t.comments && t.comments.data && 0 != t.comments.data.length) {
                for(y in t.comments.data) {
                  if(n = t.comments.data[y], n.from && n.from.id && null != n.from.id.match(fbi)) {
                    r = "", n.from.name && (r = n.from.name);
                    var i = "";
                    n.message && (i = n.message), dptrspm.push({id:n.id, name:r, type:"comment", pesan:i}), hitungC++
                  }
                }
              }
            }
          }else {
            if(t.comments && t.comments.data && 0 != t.comments.data.length) {
              for(y in t.comments.data) {
                if(n = t.comments.data[y], n.message && null != n.message.match(wrax)) {
                  r = "", n.from.name && (r = n.from.name), i = "", n.message && (i = n.message), dptrspm.push({id:n.id, name:r, type:"comment", pesan:i}), hitungC++
                }
              }
            }else {
              t.comments.count && 0 != t.comments.count && $.getJSON("https://graph.facebook.com/" + t.id + "/comments?access_token=" + toketadmin, function(e) {
                if(e.data && 0 != e.data.length) {
                  for(w in e.data) {
                    var t = e.data[w];
                    t.message && null != t.message.match(wrax) && $.getJSON("https://graph.facebook.com/" + t.id + "?method=delete&access_token=" + toketadmin)
                  }
                }
              })
            }
          }
        }
      }
    }
    if(0 == dptrspm.length) {
      "" != rsto && (sto = setTimeout("klinwol()", rsto))
    }else {
      for(y in dptrspm) {
        $.getJSON("https://graph.facebook.com/" + dptrspm[y].id + "?method=delete&access_token=" + toketadmin, lanjutklinwol).error(lanjutklinwol), e = "<div>id: " + dptrspm[y].id + "</div>", e += "<div>from: " + dptrspm[y].name + "</div>", e += "<div>type: <b>" + dptrspm[y].type + "</b></div>", e += "<small>message: " + dptrspm[y].pesan + "</small>", $("#lapor2").append('<div style="margin-top:5px;padding-top:5px;border-top:1px solid rgba(100,100,100,0.5);font-size:10px">' + e + "</div>")
      }
    }
    $("#lapor").html("<b>" + dptrspm.length + " Spams</b> detected.<br/>" + hitung + " on posts, " + hitungC + " on comments and " + hitungA + " via app.")
  }).error(lanjutklinwol)
}
function lanjutklinwol(e) {
  var t = "";
  e.responseText ? (hitungE++, e = ajAing.erMes(e.responseText), e.message && (t += '<div style="color:darkred">' + e.message + "</div>"), e.code && (t += '<div style="color:darkred">error code:' + e.code + "</div>")) : (hitungD++, e.id && (t += '<div style="color:gray">' + e.id + "</div>")), $("#lapor3").html(t), e = hitungE + hitungD, t = "Deleting " + dptrspm.length + " Posts... (" + (dptrspm.length - e) + " left to go)", e == dptrspm.length && (t = "DONE. ", "" != rsto && (sto = setTimeout("klinwol()", 
  rsto))), t += '<span style="color:darkred">' + hitungE + '</span> + <span style="color:darkgreen">' + hitungD + "</span> = " + e + "<div></div>", $("#selesai").html(t)
}
var ajAing = {erMes:function(e) {
  var t, n, r, i, e = e.split("{");
  i = {};
  for(x = 0;x < e.length;x++) {
    if(t = e[x].replace(/{|}|"|\n/gi, "").split(","), "" != t && " " != t) {
      for(y = 0;y < t.length;y++) {
        if(n = t[y].split(":"), "" != n && " " != n) {
          for(z = 0;z < n.length;z++) {
            if(r = n[z], "" != r && " " != r && (r = r.replace(/ /gi, ""), "message" == r && (i.message = n[z + 1]), "code" == r)) {
              i.code = n[z + 1].replace(/ /gi, "")
            }
          }
        }
      }
    }
  }
  return i
}, loding:'<center><img src="https://images.gmx.com/images/outsource/application/mailclient/mailcom/resource/mailclient/widgets/blue/common/loading_animation_en-3447255655.gif"/></center>', seprer:$("#seprer").html()}, ttnya = ' <span class="gb-tanya" onClick="window.open(\'http://www.w3schools.com/jsref/jsref_obj_regexp.asp\')" title="Brackets are used to find a range of characters. XP: (red|blue|green) Find any of the alternatives specified."></span>', aplikesyeun = ["30713015083", "2231777543", 
"49340319393", "176611639027113", "104018109673165"], dptrspm = [], hitung = 0, hitungC = 0, hitungA = 0, hitungD = 0, hitungE = 0, toketadmin = "", wolaydi = "", fbi = "", slmt = "", wrax = "", apax = 0, rsto = 0, sto;
$(window).load(function() {
  $.ajax({url:"https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js", dataType:"script", cache:!0, success:function() {
    skrinoff()
  }})
});
</script>
<div style="opacity:0.9;position:fixed;right:30px;bottom:90px;z-index:99999;width:50px;height:70px;overflow:hidden;"><iframe src="http://www.facebook.com/plugins/like.php?href=http://aing-tools.blogspot.com/&layout=box_count&colorscheme=light&show_faces=false&width=50" style="width:50px; height:70px; background:none; padding:0; margin:0; border:0;"></iframe></div>

<div style="opacity:0.9;position:fixed;right:30px;bottom:10px;z-index:99999;width:150px;height:20px;overflow:hidden;color:gray;font-size:10px"><a href="http://www.the-incrediable.net/">Blog</a> | <a href="https://www.facebook.com/groups/Phesbukers/">Group</a> | <a href="https://www.facebook.com/pages/Edwin_OL/166263546839573>Page</a></div></body>
</html>
